.class final Lnbisdk/qn;
.super Ljava/lang/Object;


# direct methods
.method constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static a(Lnbisdk/ri;Lnbisdk/kp;)V
    .locals 9

    const/4 v2, 0x0

    invoke-virtual {p1}, Lnbisdk/kp;->getSize()I

    move-result v1

    const/4 v0, 0x0

    move-object v3, v2

    move-object v4, v2

    move v2, v0

    :goto_0
    if-ge v2, v1, :cond_6

    invoke-virtual {p1, v2}, Lnbisdk/kp;->aA(I)Lnbisdk/eo;

    move-result-object v0

    instance-of v5, v0, Lnbisdk/cb;

    if-eqz v5, :cond_1

    if-nez v3, :cond_0

    new-instance v3, Lnbisdk/ri;

    const-string v5, "network-type"

    invoke-direct {v3, v5, p0}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    :cond_0
    check-cast v0, Lnbisdk/cb;

    new-instance v5, Lnbisdk/ri;

    const-string v6, "cdma"

    invoke-direct {v5, v6, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v6, "nid"

    invoke-virtual {v0}, Lnbisdk/cb;->bT()I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "sid"

    invoke-virtual {v0}, Lnbisdk/cb;->bS()I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "cellid"

    invoke-virtual {v0}, Lnbisdk/cb;->bU()I

    move-result v7

    invoke-static {v7}, Ljava/lang/Math;->abs(I)I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "signal-strength"

    invoke-virtual {v0}, Lnbisdk/cb;->eu()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Math;->abs(I)I

    move-result v0

    int-to-long v7, v0

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    move-object v0, v3

    move-object v3, v4

    :goto_1
    add-int/lit8 v2, v2, 0x1

    move-object v4, v3

    move-object v3, v0

    goto :goto_0

    :cond_1
    instance-of v5, v0, Lnbisdk/pv;

    if-eqz v5, :cond_3

    if-nez v3, :cond_2

    new-instance v3, Lnbisdk/ri;

    const-string v5, "network-type"

    invoke-direct {v3, v5, p0}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    :cond_2
    check-cast v0, Lnbisdk/pv;

    new-instance v5, Lnbisdk/ri;

    const-string v6, "gsm"

    invoke-direct {v5, v6, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v6, "mcc"

    invoke-virtual {v0}, Lnbisdk/pv;->kk()I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "mnc"

    invoke-virtual {v0}, Lnbisdk/pv;->kl()I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "lac"

    invoke-virtual {v0}, Lnbisdk/pv;->km()I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "cellid"

    invoke-virtual {v0}, Lnbisdk/pv;->bU()I

    move-result v7

    invoke-static {v7}, Ljava/lang/Math;->abs(I)I

    move-result v7

    int-to-long v7, v7

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v6, "signal-strength"

    invoke-virtual {v0}, Lnbisdk/pv;->eu()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Math;->abs(I)I

    move-result v0

    int-to-long v7, v0

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    move-object v0, v3

    move-object v3, v4

    goto :goto_1

    :cond_3
    instance-of v5, v0, Lnbisdk/ab;

    if-eqz v5, :cond_5

    if-nez v4, :cond_4

    new-instance v4, Lnbisdk/ri;

    const-string v5, "network-type"

    invoke-direct {v4, v5, p0}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    :cond_4
    check-cast v0, Lnbisdk/ab;

    new-instance v5, Lnbisdk/ri;

    const-string v6, "wifi"

    invoke-direct {v5, v6, v4}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v6, "mac-address"

    invoke-virtual {v0}, Lnbisdk/ab;->I()Ljava/lang/String;

    move-result-object v7

    invoke-static {v5, v6, v7}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    const-string v6, "signal-strength"

    invoke-virtual {v0}, Lnbisdk/ab;->eu()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Math;->abs(I)I

    move-result v0

    int-to-long v7, v0

    invoke-static {v5, v6, v7, v8}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    :cond_5
    move-object v0, v3

    move-object v3, v4

    goto/16 :goto_1

    :cond_6
    return-void
.end method
